package com.xiaozhen.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaozhen.blog.entity.Comment;

import java.util.List;

/**
 * @create 2023-04-27 19:47
 */
public interface CommentService extends IService<Comment> {
    /**
     * 获取评论列表
     * @return
     */
    List<Comment> listCommentByBlogId(Long blogId);

    /**
     * 保存评论
     * @return
     */
    Comment saveComment(Comment comment);
}
